package org.truenewx.tnxjee.repo.jpa.converter;

import jakarta.persistence.Converter;

import org.truenewx.tnxjee.core.util.DateUtil;

/**
 * Instant格式化到毫秒的字符串转换器，数据类型应为char(23)
 */
@Converter
public class InstantMillisSecondStringAttributeConverter extends InstantStringAttributeConverter {

    public InstantMillisSecondStringAttributeConverter() {
        super(DateUtil.LONG_TIMESTAMP_PATTERN);
    }

}
